package org.gdpi.dao;

import org.apache.ibatis.annotations.Param;
import org.gdpi.bean.Manager;
import org.gdpi.bean.Student;
import org.gdpi.bean.Teacher;


public interface LoginDao {

     /**
      * 以学生身份登录
      * @param userName 账户
      * @return
      */
     Student loginByStudent(@Param("userName") String userName);

     /**
      * 以教师身份登录
      * @param userName 账户
      * @return
      */

     Teacher loginByTeacher(@Param("userName") String userName);
     /**
      * 以管理员身份登录
      * @param userName 账户
      * @return
      */
     Manager loginByManager(@Param("userName") String userName);





}
